package java44th.group.service.wx.coupon;

import java44th.group.bean.admin.vo.admin.ListVo;
import java44th.group.bean.common.CommonData;
import java44th.group.bean.wx.bo.coupon.CodeBo;
import java44th.group.bean.wx.bo.coupon.CouponId;

import java.text.ParseException;
import java.util.LinkedList;

/**
 * @Aurhor: 王可龙
 * @DATE: 2022/10/15 14:50
 * @Package:java44th.group.service.wx.coupon
 * @Description:
 * @Version 1.0
 */
public interface MarketCouponService {
    ListVo list(Integer page, Integer limit);

    ListVo myList(Integer id, Integer status, Integer page, Integer limit);

    Integer receive(Integer id,CouponId couponId) throws ParseException;

    ListVo selectlist(Integer id);

    Integer exchange(Integer id, CodeBo codeBo) throws ParseException;

    void updateStatusByUserId(Integer userId);
}
